<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录页面</title>
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/login.css">
</head>
<body>
<!-- 导航栏 -->
<div class="nav">
    <img src="img/log2.jpg" alt="">
    <span class="title">我的题解</span>
    <!-- 这个标签仅仅用于占位, 把这几个 a 标签挤到右侧去 -->
    <div class="spacer"></div>
    <!-- <a href="#">主页</a> -->
    <a href="index.html">写题解</a>
</div>
<!-- 正文部分 -->
<!-- 贯穿整个页面的容器 -->
<div class="login-container">
    <!-- 垂直水平居中的登录对话框 -->
    <div class="login-dialog">
        <form action="login" method="post">
            <h3>登录</h3>
            <div class="row">
                <span>用户名</span>
                <input type="text" id="username" placeholder="请输入用户名" name="username">
            </div>
            <div class="row">
                <span>密码</span>
                <input type="password" id="password" name="password" placeholder="请输入密码">
            </div>
            <div class="row">
                <input type="submit" id="submit" value="登录">
            </div>
            <!-- <div class="row1">
                <a href="register.html">新用户注册</a>
            </div> -->
        </form>
        <div class="row1">
            <a href="register.html">新用户注册</a>
        </div>
    </div>
</div>
</body>
</html>